Claude에 따르면 대부분의 JavaScript 엔진에서 배열을 비울 때 a.length = 0
과 같이 대입하는 게 가장 빠르고 최적화가 잘 된다고 하는데, 이걸 믿어야 할 지 말아야 할 지… 이게 사실이라고 해도 참 답이 없다고 느낀다. 🤦
@hongminhee洪 民憙 (Hong Minhee)
바로 이맛 아님니까 (별론데 손이감)
If you have a fediverse account, you can reply to this note from your own instance. Search https://hackers.pub/ap/notes/01993909-cdf2-77b0-b264-3d8dded1a6cf on your instance and reply to it.
@woaol벨 이게 제일 빠르다니 저도 앞으로 이 방법을 쓸 것 같네요… ㅋㅋㅋ