ãã¾ãã¾ã¨ã¾ããªããã©ãã¤ãã¤ãæ¸ãã¦ã¿ããã¨æãã vaskir's blog: Hash maps: Rust, F#, D, Go, Scala èªãã§ã¦Scalaã®æ°å¤ãããã¾ãè¯ããªãåå ãã³ã¡ã³ãæ¬ã§æ¸ããã¦ã Scala/JVM's boxing and unboxing is very slow in such a tight loop. Eclipse collections may be useful. https://gist.github.com/zakki/66d785b4a9d3c64bc9f8199d7e290e07 13x fasterãã ãå ã³ã¼ããRustã§ã® std::collections::{HashMap}ã¸ã®ãã¼è¿½å Vecã§é ããåç §ããªãã足ãã¦ã ãªã®ã§ãint[]ã§è¨ç®ãã¦ãã®ãæ°ã«ãªã£ãã®ã§eclipseã³ã¬ã¯ã·ã§ã³ã¤ãã£ã¦è¨ç®ãã¦ã¿
{{#tags}}- {{label}}
{{/tags}}