#Serializing big strings (228kiB) impacts deserialization performance
1 messages · Page 1 of 1 (latest)
Hi @hasty jasper. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Yes, serializing large strings can indeed impact deserialization performance. This is because the process of serializing and deserializing large strings can be computationally expensive and time-consuming, especially if it's done frequently.
In the context of Next.js, this issue was reported in a Github issue (https://github.com/vercel/next.js/issues/49118) where the user was seeing a warning message from webpack about the impact of serializing large strings on deserialization performance. The warning suggested considering the use of Buffer instead and decoding when needed.
However, it's important to note that this issue was not deemed critical as it didn't appear to affect bundle sizes or build times in any meaningful way. It was more of a sign that something might be wrong in the default Next.js webpack configuration.