# Supporting faster file load times with memory optimizations in Rust

DevFeed: [Supporting faster file load times with memory optimizations in Rust](<https://devfeed.tech/articles/supporting-faster-file-load-times-with-memory-optimizations-in-rust-10079.md>)

Original publisher: [Read original article](<https://www.figma.com/blog/supporting-faster-file-load-times-with-memory-optimizations-in-rust/>)

Author: Raghav Anand

Published: 2025-06-18T00:00:00Z

Content type: article

Language: en

Sources: [Figma Blog](<https://devfeed.tech/sources/figma-blog.md>)

Topics: [Figma](<https://devfeed.tech/topics/figma.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>)

Tags: [data](<https://devfeed.tech/tags/data.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [figma](<https://devfeed.tech/tags/figma.md>), [memory](<https://devfeed.tech/tags/memory.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [rust](<https://devfeed.tech/tags/rust.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

Figma describes how it reduced memory usage and improved file load performance by replacing a default Rust map with a flat, sorted vector. The optimization was based on profiling Figma file property maps, which contained relatively few keys within a constrained keyspace.

## Source excerpt

Memory efficiency is essential for a great user experience. To keep files fast and performant, the Figma team is always hunting for optimizations--here are a few.