www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How Can i see associative array implement , is where has pseudocode

reply lil <lilijreey 126.com> writes:
How Can i see associative array  implement , is where  has 
pseudocode write in Dlang?
Dec 29 2022
next sibling parent matheus <matheus gmail.com> writes:
On Thursday, 29 December 2022 at 11:24:38 UTC, lil wrote:
 How Can i see associative array  implement , is where  has 
 pseudocode write in Dlang?
Maybe this will help: https://github.com/dlang/phobos/blob/master/std/array.d Matheus.
Dec 29 2022
prev sibling parent Dennis <dkorpel gmail.com> writes:
On Thursday, 29 December 2022 at 11:24:38 UTC, lil wrote:
 How Can i see associative array  implement , is where  has 
 pseudocode write in Dlang?
If you're asking for the implementation of Associative Arrays, you can find that in druntime in the `rt.aaA` module: https://github.com/dlang/dmd/blob/master/druntime/src/rt/aaA.d There's no pseudo code of it, but it's a pretty standard hash table.
Dec 29 2022