Senior developer | b... • 1y
### Performance Boost in SoundLink Key Improvement: I significantly boosted SoundLink’s performance by optimizing audio data handling in the recorder class. Initially, calling `shortarray.toByteArray()` directly for file writing and broadcasting led to zeroes at the broadcast receiver. My workaround involved excessive read/write operations, causing lag. Solution: - Created a variable to store the byte array from `shortarray.toByteArray()`. - Used this variable for both file writing and broadcasting. - Removed the redundant `writeToFile` function. Outcome: - No more lags. - Reduced read/write operations. - Streamlined data processing. Excited for feedback 😊 Check out the first update https://medial.app/post/6649a71dc3dca26fbf663a1b
Keen Learner and Exp... • 4m
Day 11 of learning python as a beginner. Topic: creating journal entry program using file I/O. I got a little sidleline from my original plan of editing my to-do list program and created an entirely new program this time for writing a daily journal
See More


Download the medial app to read full posts, comements and news.