Buffer.subarray() Method
Don’t start Buffer.subarray() Method with jargon. Start with read a big CSV. That is the whole point.
Keep Buffer.subarray() Method small. Dev should finish read a big CSV in a few lines, not a 40-line dump.
Without Buffer.subarray() Method, an upload job gets messy and read a big CSV is hard to trust.
Buffer.subarray() Method shows up in an upload job. Name read a big CSV, not “a real-world scenario”.
Don’t do this with Buffer.subarray() Method: loading the whole file into RAM. Interviewers spot it in ten seconds.
After Buffer.subarray() Method, Dev should still remember loading the whole file into RAM.
Viva for Buffer.subarray() Method — what it is → createReadStream → the mistake (loading the whole file into RAM).
Board: read a big CSV. Dry-run Buffer.subarray() Method. Name the trap: loading the whole file into RAM.