Unverified Commit cf410180 authored by Jack Koenig's avatar Jack Koenig Committed by GitHub
Browse files

Use var List instead of ListBuffer to save memory (#2465)

This reduces memory use of every HasId by 64 bytes.

Every instance of HasId (including all Data) had 2 ListBuffer vals for
recording post-naming hooks, yet this feature is almost never used.
These are now vars of type List which allows the common case of Nil to
add no incremental memory use per instance of HasId.
parent 2c2d72ce
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment