avatasia
V2EX  ›  问与答

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

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