avatasia
V2EX  ›  问与答

关于操作码的枚举类型,如果值是非数字,一般用什么数据结构好?哈希表,字典还是其他?

  •  
  •   avatasia · Feb 15, 2012 · 3306 views
    This topic created in 5392 days ago, the information mentioned may be changed or developed.
    这个操作码数量不多,但是将来可能会扩展,所以数据库的方案不考虑,硬编码的。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4362 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 08:04 · PVG 16:04 · LAX 00:04 · JFK 03:04
    ♥ Do have faith in what you're doing.