diff --git a/_posts/2024/2024-05-10-fast-shallow-array-cloning-in-javascript/2024-05-10-fast-shallow-array-cloning-in-javascript.html b/_posts/2024/2024-05-10-fast-shallow-array-cloning-in-javascript/2024-05-10-fast-shallow-array-cloning-in-javascript.html index 0bbf6ec..c0dadc8 100644 --- a/_posts/2024/2024-05-10-fast-shallow-array-cloning-in-javascript/2024-05-10-fast-shallow-array-cloning-in-javascript.html +++ b/_posts/2024/2024-05-10-fast-shallow-array-cloning-in-javascript/2024-05-10-fast-shallow-array-cloning-in-javascript.html @@ -1,7 +1,7 @@ --- title: "Fast Shallow-Cloning of an Array in JavaScript" category: [ "Benchmark" ] -tags: ["JavaScript", "Array", "Shallow-Clone", "Clone", "Duplicate", "ECMAScript", "Node.JS", "NodeJS", "Chromium", "Mozilla Firefox", "Microsoft Edge 124.0.2478.97" ] +tags: ["JavaScript", "Array", "Shallow-Clone", "Clone", "Duplicate", "ECMAScript", "Node.JS", "NodeJS", "Chromium", "Mozilla Firefox", "Microsoft Edge", "SpiderMonkey", "V8" ] ---
The Discord Servers I'm a moderator in have a bit of a spam bot problem lately, where bots join that never interact and only spam user's DMs. While I could wait until Discord bans them, it's not exactly the best solution, so why not build my own bot to handle users that never interact? So I started building a bot using NodeJS and discord.js. It's been going great so far, but then my ADHD got the better of me when I wanted to know: What actually is the fastest way to clone an Array?