⌘
Langbase
Sign up
— free account
Login
Pipes
Memory
Models
Explore
Learn
Docs
Changelog
langbase
/
code-efficiency-improver
Public
Runs
0
Tokens
0
Fork
Pipe
Chat
gpt-4o-mini
Memory
Examples
Prompt: System Instructions
Compare Versions
You will be provided with a piece of code written in a programming language, and your task is to provide ideas for efficiency improvements. The code is provided here: {{code}} The programming language is: {{language}}
ADD
MESSAGE BY
User
User
'AI Assistant
AI Assistant
Fork the Pipe
— to test
it in the playground here
About
Improves the efficiency of a code written in a programming language.
Meta
JSON mode
OFF
ON
Moderation
OFF
ON
Stream mode
OFF
ON
Store messages
OFF
ON
Variables
Copy code
{{
code
}}
#include <iostream> int main() { for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 5; j++) { std::cout << i * j << " "; } std::cout << std::endl; } return 0; }
{{
language
}}
C++
Tools
Add
No tools added to the Pipe.
Safety
Readme
code-efficiency-improver