V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
hechuanhua
V2EX  ›  程序员

在 1000 万行的文件里面找相同的行,并且记录行数和重复次数,这个咋弄

  •  
  •   hechuanhua · Mar 26, 2020 · 1699 views
    This topic created in 2230 days ago, the information mentioned may be changed or developed.

    我面的是前端,最好用 JS 方式实现

    aguesuka
        1
    aguesuka  
       Mar 26, 2020 via Android
    才 10m 行,都读到内存,存 map 里。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1337 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 16:34 · PVG 00:34 · LAX 09:34 · JFK 12:34
    ♥ Do have faith in what you're doing.