avatasia
V2EX  ›  问与答

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

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