Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mapOfUint64s (0.14 sec)

  1. src/reflect/benchmark_test.go

    	uint64Keys := []uint64{}
    	mapOfUint64s := map[uint64]V{}
    	userStringKeys := []S{}
    	mapOfUserStrings := map[S]V{}
    	for i := 0; i < 100; i++ {
    		stringKey := fmt.Sprintf("key%d", i)
    		stringKeys = append(stringKeys, stringKey)
    		mapOfStrings[stringKey] = nil
    
    		uint64Key := uint64(i)
    		uint64Keys = append(uint64Keys, uint64Key)
    		mapOfUint64s[uint64Key] = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top