Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Efficient Symbolic Computation via Hash Consing

The Julia Programming Language via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Learn how to optimize symbolic computation in Julia through hash consing implementation in this 22-minute conference talk from JuliaCon Global 2025. Discover how hash consing addresses the critical problem of redundancy in symbolic manipulation systems, where structurally equivalent expressions consume unnecessary memory and computational resources. Explore the technical implementation of hash consing in SymbolicUtils.jl, Julia's core symbolic computation library, which ensures only one unique instance of structurally equivalent expressions exists in memory. Understand the integration of weak references through Julia's WeakValueDict to maintain efficient memory management while preventing garbage collection issues. Examine experimental results demonstrating significant reductions in memory usage and improvements in compile and simulation times. Delve into key benefits including built-in common subexpression elimination (CSE), simplified codebase architecture, and enhanced performance for large-scale models. Review performance benchmarks comparing computational speed and memory consumption with and without hash consing implementation. Analyze the implicit advantages of hash consing for code generation and its impact on downstream applications in modeling and simulation workflows. Consider the limitations, trade-offs, and future optimization opportunities for specific symbolic expression types and parallel symbolic computation scenarios.

Syllabus

Efficient Symbolic Computation via Hash Consing | Zhu | JuliaCon Global 2025

Taught by

The Julia Programming Language

Reviews

Start your review of Efficient Symbolic Computation via Hash Consing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.