Alek Ratzloff 4cdc48537c Add Map type, add hashbrown crate dependency
We should have a preliminary implementation of maps going right now.
Thus far we have:

* Map.insert
* Map.__index__
* Map.remove

And some other minor functions. The big news with this is the couple of
pretty hot `unsafe` calls that borrow the VM mutably in two different
closures, simultaneously. This should be safe since these two different
closures aren't being called at the same time, somehow. Maybe one could
be calling the other. But that's not happening (I checked).

This also adds the hashbrown crate to handle the actual hashtable
implementation, so we don't have to implement our own hashtables.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-10-14 19:05:27 -07:00
2024-10-04 11:11:46 -07:00
2024-10-04 11:11:46 -07:00
Description
No description provided
804 KiB
Languages
Rust 95.5%
Python 4.2%
Shell 0.3%